package com.tian.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date;

    @Data
    @Accessors(chain = true)
    @TableName("advisory")
    public class Advisory {

        @TableId(type = IdType.AUTO)
        private Integer id;
        private String patient_name;
        private Integer advisory;
        private Date advisory_time;
        private String doctors_name;
        private Integer answer;
        private Date answer_time;
        @TableField(exist = false)
        private Hospital hospital;
    }
